package com.nptever.webcamera.impl.request;

import javax.xml.bind.annotation.*;

/**
 * @author ZhangKai
 * @version 1.0
 * @decription 获取流媒体地址信息请求体
 * @date 2018/11/16 17:33
 */
@XmlAccessorType(XmlAccessType.PUBLIC_MEMBER)
public class GetStreamUriBody extends GetServices{

    @XmlElements(
            @XmlElement(name = "StreamSetup", type = StreamSetup.class, namespace = "http://www.onvif.org/ver10/media/wsdl")
    )
    private StreamSetup streamSetup;

    @XmlElement
    private String ProfileToken = "MainStreamProfileToken";

    public void setStreamSetup(StreamSetup streamSetup) {
        this.streamSetup = streamSetup;
    }

    public void setProfileToken(String profileToken) {
        ProfileToken = profileToken;
    }
}
